package com.quanquan.store.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName:OrderRecord
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/3/21 8:34
 * @Version 1.0
 */
@Data
@Entity
@Table(name = "oo_order_record")
public class OrderRecord implements Serializable {
    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;
    @Column(name = "coupon_id", length = 64)
    private String couponId;
    @Column(name = "user_id", length = 64)
    private String userId;

}
